package com.tk.exam.dao;

import com.github.pagehelper.PageInfo;
import com.tk.exam.mapper.TkExamInfoExtMapper;
import com.tk.exam.vo.exam.SearchExamListRespVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

@Repository
public class ExamManageDao {

    @Autowired
    private TkExamInfoExtMapper tkExamInfoExtMapper;

    public PageInfo<SearchExamListRespVo> searchExamWithPage() {
        return new PageInfo<SearchExamListRespVo>(tkExamInfoExtMapper.searchExamListByPage());
    }

}
